

package com.soso.base.google.mq;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @author Liao
 *
 */
@SuppressWarnings("serial")
public class StatisticMessage extends AbstractMessage {

	private Map<String, String> params;
	
	
	public StatisticMessage(Enum<?> topic, QueueName speed) {
		super();
		setTopic(topic.name());
		setQueueName(speed);
		params = new HashMap<String, String>();
	}


	public void put(String key, String value) {
		params.put(key,value);
	}
	
	public String get(String key) {
		return params.get(key);
	}
	@Override
	public Object getMessage() {
		return null;
	}
}
